import axios from "../utils/request"

export function list(queryParams){ 
    return axios.get("/yuangong",{params:queryParams.value})
}

export function add(yuanggong){ 
    return axios.post("/yuangong",yuanggong.value)
}

export function edit(yuanggong){ 
    return axios.put("/yuangong",yuanggong.value)
}

export function del(ids2del){ 
    return axios.delete("/yuangong/"+ids2del)
}